[INFO] fetching crate jam-codec 0.1.1...
[INFO] testing jam-codec-0.1.1 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate jam-codec 0.1.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate jam-codec 0.1.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate jam-codec 0.1.1
[INFO] tweaked toml for crates.io crate jam-codec 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate jam-codec 0.1.1 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jam-codec 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4aded1019cd2f03118efaaee244823fe81d6621329a9b1d3ea9d41cea68a0e49
[INFO] running `Command { std: "docker" "start" "-a" "4aded1019cd2f03118efaaee244823fe81d6621329a9b1d3ea9d41cea68a0e49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4aded1019cd2f03118efaaee244823fe81d6621329a9b1d3ea9d41cea68a0e49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4aded1019cd2f03118efaaee244823fe81d6621329a9b1d3ea9d41cea68a0e49", kill_on_drop: false }`
[INFO] [stdout] 4aded1019cd2f03118efaaee244823fe81d6621329a9b1d3ea9d41cea68a0e49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac566a7f9602d8b81369395733e0c58841bf2523d3b6e01dec92329e624c7009
[INFO] running `Command { std: "docker" "start" "-a" "ac566a7f9602d8b81369395733e0c58841bf2523d3b6e01dec92329e624c7009", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling jam-codec v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.105
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.84s
[INFO] running `Command { std: "docker" "inspect" "ac566a7f9602d8b81369395733e0c58841bf2523d3b6e01dec92329e624c7009", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac566a7f9602d8b81369395733e0c58841bf2523d3b6e01dec92329e624c7009", kill_on_drop: false }`
[INFO] [stdout] ac566a7f9602d8b81369395733e0c58841bf2523d3b6e01dec92329e624c7009
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9060c47f65b514b5dd1018bf21617289435acc3ef56b8e2b303dd96e7c96d75
[INFO] running `Command { std: "docker" "start" "-a" "a9060c47f65b514b5dd1018bf21617289435acc3ef56b8e2b303dd96e7c96d75", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rustix v0.37.25
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itoa v1.0.8
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling ciborium-io v0.2.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling target-triple v0.1.3
[INFO] [stderr]    Compiling winnow v0.7.11
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling ciborium-ll v0.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.27
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling toml_writer v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling toml_parser v1.0.0
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling criterion-plot v0.6.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling clap v4.5.28
[INFO] [stderr]    Compiling tempfile v3.5.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling proptest v1.7.0
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]    Compiling toml_datetime v0.7.0
[INFO] [stderr]    Compiling serde_spanned v1.0.0
[INFO] [stderr]    Compiling ciborium v0.2.0
[INFO] [stderr]    Compiling jam-codec v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling toml v0.9.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling trybuild v1.0.110
[INFO] [stderr]    Compiling criterion v0.7.0
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]  --> tests/test_vectors.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jam_codec_derive::{Decode as DecodeDerive, Encode as EncodeDerive};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]  --> tests/skip.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jam_codec_derive::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]   --> tests/skip.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use jam_codec_derive::{
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]   --> tests/mem_tracking.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use jam_codec_derive::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |             #[codec(skip)]
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 |         C(#[codec(skip)] T, u32),
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:39:42
[INFO] [stdout]    |
[INFO] [stdout] 39 |     struct StructUnnamed<T = UncodecType>(#[codec(skip)] T, u32);
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/skip.rs:69:6
[INFO] [stdout]    |
[INFO] [stdout] 69 |             #[codec(skip)]
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]  --> tests/size_hint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use jam_codec_derive::Encode as DeriveEncode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]   --> tests/bitflags.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use jam_codec_derive::{Decode, Encode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jam-codec` (test "bitflags") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |         #[codec(skip)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |     struct Tuple(String, Vec<i32>, #[codec(skip)] u32);
[INFO] [stdout]    |                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/size_hint.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |         #[codec(index = 15)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `size_hint_for_struct::Struct<String, Vec<i32>, u32>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:15:15
[INFO] [stdout]     |
[INFO] [stdout]   7 |     struct Struct<A, B, C> {
[INFO] [stdout]     |     ---------------------- method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: Encode` or `_: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  15 |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<size_hint_for_struct::Struct<String, Vec<i32>, u32> as Deref>::Target = _`
[INFO] [stdout]             which is required by `size_hint_for_struct::Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout]             `size_hint_for_struct::Struct<String, Vec<i32>, u32>: WrapperTypeEncode`
[INFO] [stdout]             which is required by `size_hint_for_struct::Struct<String, Vec<i32>, u32>: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive`
[INFO] [stdout]   --> tests/bounds.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jam_codec_derive::{Decode as DeriveDecode, Encode as DeriveEncode};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: DecodeWithMemTracking` is not satisfied
[INFO] [stdout]    --> tests/mem_tracking.rs:117:3
[INFO] [stdout]     |
[INFO] [stdout] 116 |       assert!(decode_object(
[INFO] [stdout]     |               ------------- required by a bound introduced by this call
[INFO] [stdout] 117 | /         ComplexStruct {
[INFO] [stdout] 118 | |             test_enum: TestEnum::Array([0; 1000]),
[INFO] [stdout] 119 | |             boxed_test_enum: Box::new(TestEnum::Empty),
[INFO] [stdout] 120 | |             box_field: Box::new(1),
[INFO] [stdout] 121 | |             vec: vec![1; 10],
[INFO] [stdout] 122 | |         },
[INFO] [stdout]     | |_________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `DecodeWithMemTracking` is not implemented for `ComplexStruct`
[INFO] [stdout]    --> tests/mem_tracking.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct ComplexStruct {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `DecodeWithMemTracking`:
[INFO] [stdout]               ()
[INFO] [stdout]               (TupleElement0, TupleElement1)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ...)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ..., ...)
[INFO] [stdout]             and 60 others
[INFO] [stdout] note: required by a bound in `decode_object`
[INFO] [stdout]    --> tests/mem_tracking.rs:48:14
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn decode_object<T>(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result<T, Error>
[INFO] [stdout]     |    ------------- required by a bound in this function
[INFO] [stdout]  47 | where
[INFO] [stdout]  48 |     T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_object`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mem_tracking-8d419284d15789fd.long-type-9703463497509386596.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: Encode` is not satisfied
[INFO] [stdout]    --> tests/mem_tracking.rs:117:3
[INFO] [stdout]     |
[INFO] [stdout] 116 |       assert!(decode_object(
[INFO] [stdout]     |               ------------- required by a bound introduced by this call
[INFO] [stdout] 117 | /         ComplexStruct {
[INFO] [stdout] 118 | |             test_enum: TestEnum::Array([0; 1000]),
[INFO] [stdout] 119 | |             boxed_test_enum: Box::new(TestEnum::Empty),
[INFO] [stdout] 120 | |             box_field: Box::new(1),
[INFO] [stdout] 121 | |             vec: vec![1; 10],
[INFO] [stdout] 122 | |         },
[INFO] [stdout]     | |_________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `ComplexStruct`
[INFO] [stdout]    --> tests/mem_tracking.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct ComplexStruct {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, T>
[INFO] [stdout]               Rc<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]               jam_codec::Ref<'_, T, U>
[INFO] [stdout]     = note: required for `ComplexStruct` to implement `Encode`
[INFO] [stdout] note: required by a bound in `decode_object`
[INFO] [stdout]    --> tests/mem_tracking.rs:48:5
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn decode_object<T>(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result<T, Error>
[INFO] [stdout]     |    ------------- required by a bound in this function
[INFO] [stdout]  47 | where
[INFO] [stdout]  48 |     T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `decode_object`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `codec` in this scope
[INFO] [stdout]   --> tests/bounds.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |         #[codec(compact)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: DecodeWithMemTracking` is not satisfied
[INFO] [stdout]    --> tests/mem_tracking.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 139 |           decode_object(
[INFO] [stdout]     |           ------------- required by a bound introduced by this call
[INFO] [stdout] 140 | /             ComplexStruct {
[INFO] [stdout] 141 | |                 test_enum: TestEnum::Array([0; 1000]),
[INFO] [stdout] 142 | |                 boxed_test_enum: Box::new(TestEnum::Empty),
[INFO] [stdout] 143 | |                 box_field: Box::new(1),
[INFO] [stdout] 144 | |                 vec: vec![1; 10],
[INFO] [stdout] 145 | |             },
[INFO] [stdout]     | |_____________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `DecodeWithMemTracking` is not implemented for `ComplexStruct`
[INFO] [stdout]    --> tests/mem_tracking.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct ComplexStruct {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `DecodeWithMemTracking`:
[INFO] [stdout]               ()
[INFO] [stdout]               (TupleElement0, TupleElement1)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ...)
[INFO] [stdout]               (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ..., ...)
[INFO] [stdout]             and 60 others
[INFO] [stdout] note: required by a bound in `decode_object`
[INFO] [stdout]    --> tests/mem_tracking.rs:48:14
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn decode_object<T>(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result<T, Error>
[INFO] [stdout]     |    ------------- required by a bound in this function
[INFO] [stdout]  47 | where
[INFO] [stdout]  48 |     T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_object`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mem_tracking-8d419284d15789fd.long-type-9703463497509386596.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Header<Number>: Decode` is not satisfied
[INFO] [stdout]    --> tests/bounds.rs:28:47
[INFO] [stdout]     |
[INFO] [stdout]  28 |     impl<Number: HasCompact> _IsEncodeDecode for Header<Number> {}
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeDecode` is not implemented for `Header<Number>`
[INFO] [stdout]    --> tests/bounds.rs:21:2
[INFO] [stdout]     |
[INFO] [stdout]  21 |     pub struct Header<Number> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `WrapperTypeDecode`
[INFO] [stdout]    --> src/codec.rs:540:1
[INFO] [stdout]     |
[INFO] [stdout] 540 | impl<T> WrapperTypeDecode for Box<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<T>`
[INFO] [stdout] ...
[INFO] [stdout] 598 | impl<T> WrapperTypeDecode for Rc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<T>`
[INFO] [stdout] ...
[INFO] [stdout] 614 | impl<T> WrapperTypeDecode for Arc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Arc<T>`
[INFO] [stdout]     = note: required for `Header<Number>` to implement `Decode`
[INFO] [stdout] note: required by a bound in `_IsEncodeDecode`
[INFO] [stdout]    --> tests/bounds.rs:26:34
[INFO] [stdout]     |
[INFO] [stdout]  26 |     trait _IsEncodeDecode: Encode + Decode {}
[INFO] [stdout]     |                                     ^^^^^^ required by this bound in `_IsEncodeDecode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Header<Number>: Encode` is not satisfied
[INFO] [stdout]   --> tests/bounds.rs:28:47
[INFO] [stdout]    |
[INFO] [stdout] 28 |     impl<Number: HasCompact> _IsEncodeDecode for Header<Number> {}
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `Header<Number>`
[INFO] [stdout]   --> tests/bounds.rs:21:2
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub struct Header<Number> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]              &T
[INFO] [stdout]              &mut T
[INFO] [stdout]              Arc<T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              Cow<'_, T>
[INFO] [stdout]              Rc<T>
[INFO] [stdout]              String
[INFO] [stdout]              Vec<T>
[INFO] [stdout]              jam_codec::Ref<'_, T, U>
[INFO] [stdout]    = note: required for `Header<Number>` to implement `Encode`
[INFO] [stdout] note: required by a bound in `_IsEncodeDecode`
[INFO] [stdout]   --> tests/bounds.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |     trait _IsEncodeDecode: Encode + Decode {}
[INFO] [stdout]    |                            ^^^^^^ required by this bound in `_IsEncodeDecode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: Encode` is not satisfied
[INFO] [stdout]    --> tests/mem_tracking.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 139 |           decode_object(
[INFO] [stdout]     |           ------------- required by a bound introduced by this call
[INFO] [stdout] 140 | /             ComplexStruct {
[INFO] [stdout] 141 | |                 test_enum: TestEnum::Array([0; 1000]),
[INFO] [stdout] 142 | |                 boxed_test_enum: Box::new(TestEnum::Empty),
[INFO] [stdout] 143 | |                 box_field: Box::new(1),
[INFO] [stdout] 144 | |                 vec: vec![1; 10],
[INFO] [stdout] 145 | |             },
[INFO] [stdout]     | |_____________^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `ComplexStruct`
[INFO] [stdout]    --> tests/mem_tracking.rs:39:1
[INFO] [stdout]     |
[INFO] [stdout]  39 | struct ComplexStruct {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, T>
[INFO] [stdout]               Rc<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]               jam_codec::Ref<'_, T, U>
[INFO] [stdout]     = note: required for `ComplexStruct` to implement `Encode`
[INFO] [stdout] note: required by a bound in `decode_object`
[INFO] [stdout]    --> tests/mem_tracking.rs:48:5
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn decode_object<T>(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result<T, Error>
[INFO] [stdout]     |    ------------- required by a bound in this function
[INFO] [stdout]  47 | where
[INFO] [stdout]  48 |     T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug,
[INFO] [stdout]     |        ^^^^^^ required by this bound in `decode_object`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `size_hint_for_tuple_struct::Tuple`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:24:15
[INFO] [stdout]     |
[INFO] [stdout]  21 |     struct Tuple(String, Vec<i32>, #[codec(skip)] u32);
[INFO] [stdout]     |     ------------ method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] ...
[INFO] [stdout]  24 |     assert_eq!(v.size_hint(), 23);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `size_hint_for_tuple_struct::Tuple` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<size_hint_for_tuple_struct::Tuple as Deref>::Target = _`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout]             `size_hint_for_tuple_struct::Tuple: WrapperTypeEncode`
[INFO] [stdout]             which is required by `size_hint_for_tuple_struct::Tuple: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jam-codec` (test "mem_tracking") due to 5 previous errors
[INFO] [stderr] error: could not compile `jam-codec` (test "bounds") due to 4 previous errors
[INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Unit`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:33:15
[INFO] [stdout]     |
[INFO] [stdout]  30 |     struct Unit;
[INFO] [stdout]     |     ----------- method `size_hint` not found for this struct because it doesn't satisfy `<Unit as Deref>::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  33 |     assert_eq!(v.size_hint(), 0);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `Unit` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<Unit as Deref>::Target = _`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout]             `Unit: WrapperTypeEncode`
[INFO] [stdout]             which is required by `Unit: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:50:15
[INFO] [stdout]     |
[INFO] [stdout]  39 |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  50 |     assert_eq!(v.size_hint(), 1);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout]  39 |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  53 |     assert_eq!(v.size_hint(), 13);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:56:15
[INFO] [stdout]     |
[INFO] [stdout]  39 |     enum EnumType {
[INFO] [stdout]     |     ------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumType as Deref>::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  56 |     assert_eq!(v.size_hint(), 13);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumType as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout]             `EnumType: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumType: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:71:15
[INFO] [stdout]     |
[INFO] [stdout]  62 |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  71 |     assert_eq!(v.size_hint(), discriminant);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:74:15
[INFO] [stdout]     |
[INFO] [stdout]  62 |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  74 |     assert_eq!(v.size_hint(), discriminant);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/size_hint.rs:77:15
[INFO] [stdout]     |
[INFO] [stdout]  62 |     enum EnumWithDiscriminant {
[INFO] [stdout]     |     ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `<EnumWithDiscriminant as Deref>::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  77 |     assert_eq!(v.size_hint(), discriminant);
[INFO] [stdout]     |                  ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<EnumWithDiscriminant as Deref>::Target = _`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout]             `EnumWithDiscriminant: WrapperTypeEncode`
[INFO] [stdout]             which is required by `EnumWithDiscriminant: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `size_hint`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout]             candidate #2: `Iterator`
[INFO] [stdout]             candidate #3: `itertools::merge_join::OrderingOrBool`
[INFO] [stdout]             candidate #4: `serde::de::MapAccess`
[INFO] [stdout]             candidate #5: `serde::de::SeqAccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Encode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     t.process(TestEnum::<u8>::Dummy);
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, T>
[INFO] [stdout]               Rc<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]               jam_codec::Ref<'_, T, U>
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Encode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:16
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                   ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Decode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     t.process(TestEnum::<u8>::Dummy);
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeDecode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `WrapperTypeDecode`
[INFO] [stdout]    --> src/codec.rs:540:1
[INFO] [stdout]     |
[INFO] [stdout] 540 | impl<T> WrapperTypeDecode for Box<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<T>`
[INFO] [stdout] ...
[INFO] [stdout] 598 | impl<T> WrapperTypeDecode for Rc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<T>`
[INFO] [stdout] ...
[INFO] [stdout] 614 | impl<T> WrapperTypeDecode for Arc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Arc<T>`
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Decode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:25
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                            ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Encode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     t.process(TestEnum::Foo(42_u8));
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, T>
[INFO] [stdout]               Rc<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]               jam_codec::Ref<'_, T, U>
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Encode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:16
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                   ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Decode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 |     t.process(TestEnum::Foo(42_u8));
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeDecode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `WrapperTypeDecode`
[INFO] [stdout]    --> src/codec.rs:540:1
[INFO] [stdout]     |
[INFO] [stdout] 540 | impl<T> WrapperTypeDecode for Box<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<T>`
[INFO] [stdout] ...
[INFO] [stdout] 598 | impl<T> WrapperTypeDecode for Rc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<T>`
[INFO] [stdout] ...
[INFO] [stdout] 614 | impl<T> WrapperTypeDecode for Arc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Arc<T>`
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Decode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:25
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                            ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Encode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     t.process(TestEnum::Bar([1_u8, 2, 3, 4, 5, 6, 7, 8]));
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeEncode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `WrapperTypeEncode`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Cow<'_, T>
[INFO] [stdout]               Rc<T>
[INFO] [stdout]               String
[INFO] [stdout]               Vec<T>
[INFO] [stdout]               jam_codec::Ref<'_, T, U>
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Encode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:16
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                   ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TestEnum<u8>: Decode` is not satisfied
[INFO] [stdout]    --> tests/test_vectors.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |     t.process(TestEnum::Bar([1_u8, 2, 3, 4, 5, 6, 7, 8]));
[INFO] [stdout]     |       ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |       |
[INFO] [stdout]     |       required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `WrapperTypeDecode` is not implemented for `TestEnum<u8>`
[INFO] [stdout]    --> tests/test_vectors.rs:62:1
[INFO] [stdout]     |
[INFO] [stdout]  62 | enum TestEnum<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `WrapperTypeDecode`
[INFO] [stdout]    --> src/codec.rs:540:1
[INFO] [stdout]     |
[INFO] [stdout] 540 | impl<T> WrapperTypeDecode for Box<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<T>`
[INFO] [stdout] ...
[INFO] [stdout] 598 | impl<T> WrapperTypeDecode for Rc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Rc<T>`
[INFO] [stdout] ...
[INFO] [stdout] 614 | impl<T> WrapperTypeDecode for Arc<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Arc<T>`
[INFO] [stdout]     = note: required for `TestEnum<u8>` to implement `Decode`
[INFO] [stdout] note: required by a bound in `TestHarness::process`
[INFO] [stdout]    --> tests/test_vectors.rs:78:25
[INFO] [stdout]     |
[INFO] [stdout]  78 |     fn process<T: Encode + Decode + std::fmt::Debug + PartialEq>(&mut self, v: T) {
[INFO] [stdout]     |                            ^^^^^^ required by this bound in `TestHarness::process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jam-codec` (test "size_hint") due to 13 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jam-codec` (test "test_vectors") due to 7 previous errors
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:47:16
[INFO] [stdout]     |
[INFO] [stdout]  20 |     enum Enum<T = UncodecType, S = UncodecUndefaultType> {
[INFO] [stdout]     |     ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  47 |     assert_eq!(ea.encode(), Vec::new());
[INFO] [stdout]     |                   ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout]             `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:49:34
[INFO] [stdout]     |
[INFO] [stdout]  20 |     enum Enum<T = UncodecType, S = UncodecUndefaultType> {
[INFO] [stdout]     |     ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  49 |     let mut eb_encoded: &[u8] = &eb.encode();
[INFO] [stdout]     |                                     ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout]             `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:50:34
[INFO] [stdout]     |
[INFO] [stdout]  20 |     enum Enum<T = UncodecType, S = UncodecUndefaultType> {
[INFO] [stdout]     |     ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `<enum_struct_test::Enum as Deref>::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  50 |     let mut ec_encoded: &[u8] = &ec.encode();
[INFO] [stdout]     |                                     ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout]             `enum_struct_test::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `enum_struct_test::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructNamed`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:51:34
[INFO] [stdout]     |
[INFO] [stdout]  32 |     struct StructNamed<T = UncodecType> {
[INFO] [stdout]     |     ----------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructNamed as Deref>::Target = _`, `StructNamed: Encode` or `StructNamed: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  51 |     let mut sn_encoded: &[u8] = &sn.encode();
[INFO] [stdout]     |                                     ^^^^^^ method cannot be called on `StructNamed` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<StructNamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout]             `StructNamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructNamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructUnnamed`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:52:34
[INFO] [stdout]     |
[INFO] [stdout]  39 |     struct StructUnnamed<T = UncodecType>(#[codec(skip)] T, u32);
[INFO] [stdout]     |     ------------------------------------- method `encode` not found for this struct because it doesn't satisfy `<StructUnnamed as Deref>::Target = _`, `StructUnnamed: Encode` or `StructUnnamed: WrapperTypeEncode`
[INFO] [stdout] ...
[INFO] [stdout]  52 |     let mut su_encoded: &[u8] = &su.encode();
[INFO] [stdout]     |                                     ^^^^^^ method cannot be called on `StructUnnamed` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<StructUnnamed as Deref>::Target = _`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout]             `StructUnnamed: WrapperTypeEncode`
[INFO] [stdout]             which is required by `StructUnnamed: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:54:19
[INFO] [stdout]     |
[INFO] [stdout]  20 |     enum Enum<T = UncodecType, S = UncodecUndefaultType> {
[INFO] [stdout]     |     ---------------------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout]  54 |     assert_eq!(Enum::decode(&mut eb_encoded).unwrap(), eb);
[INFO] [stdout]     |                      ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `&enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> src/codec.rs:521:1
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:55:19
[INFO] [stdout]     |
[INFO] [stdout]  20 |     enum Enum<T = UncodecType, S = UncodecUndefaultType> {
[INFO] [stdout]     |     ---------------------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout]  55 |     assert_eq!(Enum::decode(&mut ec_encoded).unwrap(), ec);
[INFO] [stdout]     |                      ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `&enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout]             `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut enum_struct_test::Enum<_, _>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> src/codec.rs:521:1
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructNamed<_>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:56:26
[INFO] [stdout]     |
[INFO] [stdout]  32 |     struct StructNamed<T = UncodecType> {
[INFO] [stdout]     |     ----------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<StructNamed<_> as WrapperTypeDecode>::Wrapped = _`, `StructNamed<_>: Decode` or `StructNamed<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout]  56 |     assert_eq!(StructNamed::decode(&mut sn_encoded).unwrap(), sn);
[INFO] [stdout]     |                             ^^^^^^ function or associated item cannot be called on `StructNamed<_>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<StructNamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `StructNamed<_>: Decode`
[INFO] [stdout]             `StructNamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `StructNamed<_>: Decode`
[INFO] [stdout]             `<&StructNamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&StructNamed<_>: Decode`
[INFO] [stdout]             `&StructNamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&StructNamed<_>: Decode`
[INFO] [stdout]             `<&mut StructNamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut StructNamed<_>: Decode`
[INFO] [stdout]             `&mut StructNamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut StructNamed<_>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> src/codec.rs:521:1
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructUnnamed<_>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:57:28
[INFO] [stdout]     |
[INFO] [stdout]  39 |     struct StructUnnamed<T = UncodecType>(#[codec(skip)] T, u32);
[INFO] [stdout]     |     ------------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `StructUnnamed<_>: Decode` or `StructUnnamed<_>: WrapperTypeDecode`
[INFO] [stdout] ...
[INFO] [stdout]  57 |     assert_eq!(StructUnnamed::decode(&mut su_encoded).unwrap(), su);
[INFO] [stdout]     |                               ^^^^^^ function or associated item cannot be called on `StructUnnamed<_>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `StructUnnamed<_>: Decode`
[INFO] [stdout]             `StructUnnamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `StructUnnamed<_>: Decode`
[INFO] [stdout]             `<&StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&StructUnnamed<_>: Decode`
[INFO] [stdout]             `&StructUnnamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&StructUnnamed<_>: Decode`
[INFO] [stdout]             `<&mut StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _`
[INFO] [stdout]             which is required by `&mut StructUnnamed<_>: Decode`
[INFO] [stdout]             `&mut StructUnnamed<_>: WrapperTypeDecode`
[INFO] [stdout]             which is required by `&mut StructUnnamed<_>: Decode`
[INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented
[INFO] [stdout]    --> src/codec.rs:521:1
[INFO] [stdout]     |
[INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `decode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `encode` exists for enum `skip_enum_struct_inner_variant::Enum`, but its trait bounds were not satisfied
[INFO] [stdout]    --> tests/skip.rs:74:62
[INFO] [stdout]     |
[INFO] [stdout]  66 |     enum Enum {
[INFO] [stdout]     |     --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `skip_enum_struct_inner_variant::Enum: Encode`
[INFO] [stdout] ...
[INFO] [stdout]  74 |     let encoded = Enum::Data { some_named: 1, ignore: Some(1) }.encode();
[INFO] [stdout]     |                                                                 ^^^^^^ method cannot be called on `skip_enum_struct_inner_variant::Enum` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<skip_enum_struct_inner_variant::Enum as Deref>::Target = _`
[INFO] [stdout]             which is required by `skip_enum_struct_inner_variant::Enum: Encode`
[INFO] [stdout]             `skip_enum_struct_inner_variant::Enum: WrapperTypeEncode`
[INFO] [stdout]             which is required by `skip_enum_struct_inner_variant::Enum: Encode`
[INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented
[INFO] [stdout]    --> src/codec.rs:367:1
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `encode`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jam-codec` (test "skip") due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "a9060c47f65b514b5dd1018bf21617289435acc3ef56b8e2b303dd96e7c96d75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9060c47f65b514b5dd1018bf21617289435acc3ef56b8e2b303dd96e7c96d75", kill_on_drop: false }`
[INFO] [stdout] a9060c47f65b514b5dd1018bf21617289435acc3ef56b8e2b303dd96e7c96d75
